<?php
/*
+--------------------------------------------------------------------------
|   AffiliStore 2
|   ========================================
|   Web: http://www.affilistore.com
|   Email: admin (at) affilistore (dot) com
|	License Type: AffiliStore 2 is NOT open source software and limitations apply 
|   Licence Info: Visit AffiliStore website and click on 'Licence'
+--------------------------------------------------------------------------
*/
// checks to see if password session is set
// if not redirects to ../admin/
if($_SESSION['loggedIn'] == 0 && !isset($adminPage)){
include('../includes/auth.inc.php');
}


?>
<fieldset>
<legend>Overview</legend>
<table cellpadding="4" cellspacing="0" border="0">
<tr>
<td>Install Directory:</td>
<td><?php echo $installDir['value'];?></td>
</tr>
<tr>
<td>PHP Version:</td>
<td><?php echo phpversion();?></td>
</tr>
<tr>
<td>MySQL Version:</td>
<td><?php echo mysql_get_server_info(); ?></td>
</tr>
<tr>
<td>Server Software:</td>
<td><?php echo @$_SERVER["SERVER_SOFTWARE"]; ?></td>
</tr>
<tr>
<td>Client Browser:</td>
<td><?php echo @$_SERVER["HTTP_USER_AGENT"]; ?></td>
</tr>
<tr>
<td>Server Max Upload File Size:</td>
<td><?php echo ini_get_size('post_max_size').' bytes'; ?></td>
</tr>
</table>
</fieldset>